#!/bin/bash
#计算 1+2+3+...+100

sum=0
for((i=1; i<=100; i=i+1))
do
    sum=$(($sum+$i))
done

echo "The result of '1+2+...+100' is ==> $sum"
